import java.util.Scanner;

//所得税类
public class IncomeTax {
    public static void main(String[] args) {
        Scanner sc =new Scanner(System.in);

        System.out.print("请输入员工姓名：");
        String name =sc.next();
        System.out.print("请输入员工基本工资：");
        double salary =sc.nextDouble();
        System.out.print("请输入加班补贴：");
        double subsidy=sc.nextDouble();
        Employee zhangpengfei = new Employee();
        zhangpengfei.name=name;
        zhangpengfei.salary=salary;
        zhangpengfei.subsidy=subsidy;
        double money=zhangpengfei.calcIncomeTax();
        System.out.print("实发工资："+money+"元");

    }

}
